Certificate

public interface Certificate

An SSL certificate instance such as an X.509 certificate providing an SSL server identity.

Inheritors

Functions

Link copied to clipboard
public Array<byte> derEncodedValue()
Returns an array of bytes that represents the DER-encoded representation of .
Link copied to clipboard
Returns the list of intermediate certificates associated with this certificate that may be needed for chain building.
Link copied to clipboard
public static Certificate of(X509Certificate x509Cert)
Returns the Certificate instance for the given X.509 certificate.
public static Certificate of(X509Certificate x509Cert, List<X509Certificate> intermediateX509Certs)
Returns the Certificate instance for the given X.509 certificate and the list of intermediate X.509 certificates associated with this the certificate that may be needed for chain building.
Link copied to clipboard
Returns an Optional that contains an X.